@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  //font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
  height: 98%;
  overflow-y: auto;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.grid {
  display: grid;
}

// /* 整个滚动条 */
// ::-webkit-scrollbar {
//   /* 对应纵向滚动条的宽度 */
//   width: 8px;
//   /* 对应横向滚动条的宽度 */
//   height: 8px;
//   margin: 2px;
// }

// /* 滚动条上的滚动滑块 */
// ::-webkit-scrollbar-thumb {
//   background-color: #0048e3;
//   border-radius: 32px;
// }

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background-color: #071825;
  border-radius: 32px;
}

.pagination-container {
  margin: 10px 0;
}

.table-container {
  margin: 15px 0 !important;
}

.filter-container {
  padding: 10px;
  margin-bottom: 10px;
  background: #fff;
  .el-form .el-form-item {
    margin-bottom: 0;
  }
}
.table-container {
  background: #fff;
  padding: 12px;
  min-height: calc(100vh - 240px - 400px);
  .table-button {
    float: right;
    margin-bottom: 12px;
  }
}
